﻿using System;
using System.Runtime.Serialization;

[DataContract]
public class Utlagg
{
    private int utlaggID;
    private string typ;
    private string valuta;
    private double summa;
    private double moms;
    private bool kvitto;
    private int resa;
     

	public Utlagg(int utlaggID, string typ, string valuta, double summa, double moms, bool kvitto, int resa)
	{
        this.utlaggID = utlaggID;
        this.typ = typ;
        this.valuta = valuta;
        this.summa = summa;
        this.moms = moms;
        this.kvitto = kvitto;
        this.resa = resa;
	}

    [DataMember]
    public int UtlaggID { 
        get { return utlaggID; }
        set { utlaggID = value; }
    }

    [DataMember]
    public string Typ { 
        get { return typ; }
        set { typ = value; }
    }

    [DataMember]
    public string Valuta { 
        get { return valuta; }
        set { valuta = value; }
    }

    [DataMember]
    public double Summa { 
        get { return summa; }
        set { summa = value; }
    }

    [DataMember]
    public double Moms { 
        get { return moms; }
        set { moms = value; }
    }

    [DataMember]
    public bool Kvitto { 
        get { return kvitto; }
        set { kvitto = value; }
    }

    [DataMember]
    public int Resa { 
        get { return resa; }
        set { resa = value; }
    }
}   
